home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / ObtainResidentPrg < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ObtainResidentPrg(33.4)  ARP Prog Manual  ObtainResidentPrg(33.4)
  5.  
  6.  
  7.  
  8.      NAME
  9.       ObtainResidentPrg -- Obtains a resident program for your
  10.       use.
  11.  
  12.      SYNOPSIS
  13.       node = ObtainResidentPrg("name")
  14.         d0                 a0
  15.  
  16.      FUNCTION
  17.       Part of the resident program manager.     This function
  18.       searches the ResidentPrg list    for a currently    resident
  19.       program of BaseName("name"). If found, it increments the
  20.       usage    count of this program, indicating that this code
  21.       segment has an additional user, and should not be expunged.
  22.       You do not need to Forbid() before calling this function.
  23.  
  24.      INPUTS
  25.       name - pointer to a null terminated pathname.     This may be
  26.           any valid AmigaDOS pathname, but only    the BaseName
  27.           of the path is compared and stored.
  28.  
  29.      RESULT
  30.       node - If found, a pointer to    the resident program node for
  31.           the program.    Note that this is not the actual code
  32.           segment, the code segment is stored in a location
  33.           inside this structure. If NULL, either the name
  34.           could    not be found, or the checksum for this program
  35.           was invalid. More information    is available by
  36.           calling IoErr().
  37.  
  38.      BUGS
  39.       None known
  40.  
  41.      SEE ALSO
  42.       AddResidentPrg(), RemResidentPrg(), LoadPrg(), UnLoadPrg(),
  43.       CheckSumPrg(), ReleaseResidentPrg(), BaseName().
  44.  
  45.      AUTHOR
  46.       SDB
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.